﻿@model EditorialProyectos.Website.Models.CategoryViewModel

<div class="row" data-bind="visible: Main.State.CurrentPage() == Controller + 'Info'">
    <div class="col-md-12">
        @Html.Partial("InfoPartial", Model)
    </div>
</div>

<div class="row" data-bind="visible: Main.State.CurrentPage() == Controller + 'Read'">
    <div class="col-md-6">
        @Html.Partial("ReadPartial", Model)
    </div>
</div>

<div class="row" data-bind="visible: Main.State.CurrentPage() == Controller + 'Create'">
    <div class="col-md-6">
        @Html.Partial("CreatePartial", Model)
    </div>
</div>

<div class="row" data-bind="visible: Main.State.CurrentPage() == Controller + 'Update'">
    <div class="col-md-6">
        @Html.Partial("UpdatePartial", Model)
    </div>
</div>

<div class="row" data-bind="visible: Main.State.CurrentPage() == Controller + 'Delete'">
    <div class="col-md-6">
        @Html.Partial("DeletePartial", Model)
    </div>
</div>
